<extend name="Public/base"/>
<block name="body">
    <div class="main-title">
        <h2>{$_title}</h2>
    </div>
    <form action="{:U('ErrorLog/editLog')}" method="post" class="form-horizontal">
    	<input type="hidden" name="id" value="{$log.id}"/>
    	<div class="form-item">
            <label class="item-label">用户手机：<span class="check-tips">{$log.mobile|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">接口代码：<span class="check-tips">{$log.api_code|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">错误文件：<span class="check-tips">{$log.file|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">错误行号：<span class="check-tips">{$log.line|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">　　模块：<span class="check-tips">{$log.module|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">　控制器：<span class="check-tips">{$log.controller|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">　　操作：<span class="check-tips">{$log.action|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">记录时间：<span class="check-tips">{:date('Y-m-d H:i:s', $log['create_time'])}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">更新时间：<span class="check-tips">{:date('Y-m-d H:i:s', $log['update_time'])}</span></label>
        </div>
        <div class="form-item">
            <div class="item-label">　　状态：<span class="check-tips">{$log.status_text}</span></div>
        </div>
        <div class="form-item">
            <label class="item-label">备　　注<span class="check-tips"></span></label>
            <div class="controls">
            	<textarea class="div-desc" name="note" ></textarea>
            </div>
        </div>
        <div class="form-item">
        	<button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">处 理</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('ErrorLog/logList')}');
    </script>
</block>
